package com.fmjava.fallback;

import com.fmjava.utils.ResponseResult;

/*
 *@ClassName FallbackException
 *@Description TODO
 *@Author 吃麻椒的花酱
 *@Date 2021/9/1 13:34
 *@Version 1.0
 */
public class FallbackException {
    public static ResponseResult fallback(Throwable throwable) {

        return ResponseResult.error().message("操作失败请重试!!!");
    }
}
